package com.sphd.beautysalon.model;


import com.android.volley.VolleyError;
import com.sphd.beautysalon.interfaces.VolleyJsonObjectCallBack;
import com.sphd.beautysalon.presenter.OrderPresenterImpl;

import org.json.JSONObject;

/**
* Created by Hu on 2016/11/07
*/

public class OrderModelImpl implements OrderModel, VolleyJsonObjectCallBack {
    OrderPresenterImpl orderPresenter;
    @Override
    public void sendUrl(String url, OrderPresenterImpl orderPresenter) {
        volleyUtil.setJsonObjectRequest(url,this);
        this.orderPresenter=orderPresenter;
    }

    @Override
    public void onResponse(JSONObject response) {

    }

    @Override
    public void onErrorResponse(VolleyError error) {

    }
}